<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<script type="text/javascript" src="${ctx}/scripts/common.js"></script>

<html>
	<head>
		<script type="text/javascript" src="${ctx}/scripts/common.js"></script>
		<script type="text/javascript" src="${ctx}/scripts/div/common.js"></script>
		<script>
		parent.windowObj.setButtonStatus(true);
		<c:choose>
			<c:when test="${not empty filetypeException}">
				FailureAlert("请输入正确的类型");
			</c:when>

			<c:when test="${not empty EXCEPTION_ERROR or not empty EXCEPTION_WARN}">
				var url = "${ctx}/occupation_perfectItemDispatchAction.do?method=listExceptionMain";
				top.windowOpen(url, "exceptionMain", "温馨提示", 350, 700,true,"exceptionListMain");
			</c:when>

			<c:when test="${success}">
				SuccessAlert("导入成功");
				findFrame("main").refresh();
				parent.windowClose();
			</c:when>
		</c:choose>
		</script>
	</head>
</html>